gl: Slightly rework the icon cache api
authorMatthias Clasen <mclasen@redhat.com>
Tue, 15 Oct 2019 11:51:05 +0000 (07:51 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 15 Oct 2019 23:44:26 +0000 (19:44 -0400)
commite34d1b8a26496760445d4e9f057b637a34072594
tree1c8a463146119168b7103591dfddc9c99a99aba2
parentc5af4638434e39a0c224afb62252caed233c2acb
gl: Slightly rework the icon cache api

Return a pointer to the IconData struct. This is
closer to the glyph cache api, and will allow us
to add similar shortcuts. For now, just store
texture coords in the form we need, avoiding
converting them over and over.
gsk/gl/gskgliconcache.c
gsk/gl/gskgliconcacheprivate.h
gsk/gl/gskglrenderer.c